@charset "utf-8";

.el-submenu .el-menu-item {
  font-size: 14px;
  padding-left: 55px !important;

  &.is-active {
    background-color: $theme_color !important;
  }
}

// 鼠标经过 hover
.el-submenu__title:hover {
  background-color: transparent !important;
}

.is-opened {
  .el-menu-item:hover {
    background-color: $theme_color !important;
  }
}

.el-submenu__title i {
  color: #fff;
}

// 修改一级菜单
.el-menu-item, .el-submenu__title {
  height: 50px !important;
  line-height: 50px !important;
}

/*li.el-submenu {
  &.is-active.is-opened .el-submenu__title { background-color: $theme_color !important; }
}*/
// 导航收起的
.el-menu--vertical {
  .el-menu {
    background-color: #344a5f !important;
  }

  .el-menu-item {
    line-height: 56px
  }

  .el-menu-item:hover {
    background-color: $theme_color !important;
  }
}

.el-menu {
  border: none;
}

// table
div.el-table {
  th {
    color: #344a5f;
    font-size: 15px
  }

  td {
    font-size: 14px
  }
}

// dialog
.el-dialog__body {
  padding: 30px 47px !important;
  height: 450px;
  overflow-y: auto;
}

.el-dialog__footer {
  text-align: center !important;
  padding-bottom: 30px !important;

  .el-button {
    width: 140px !important;
    margin: 0 10px !important;
  }
}

// el-form样式
.el-form {
  .el-form-item:last-child {
    margin-bottom: 0 !important;
  }
}

// 表格
html body .el-table th {
  position: relative;
  box-sizing: border-box;
  padding: 10px 0;
}
